package com.yonyou.crm.cum.customer.rmimpl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.yonyou.crm.common.page.entity.Page;
import com.yonyou.crm.cum.customer.entity.CustomerSalesVO;
import com.yonyou.crm.cum.customer.rmitf.IGroupCustomerSalesRmService;
import com.yonyou.crm.cum.customer.service.GroupCustomerSalesBizServiceImpl;

public class GroupCustomerSalesRmServiceImpl implements IGroupCustomerSalesRmService{
	
	@Autowired 
	private GroupCustomerSalesBizServiceImpl bizService;
	
	@Override
	public Page<CustomerSalesVO> getList(Page<CustomerSalesVO> page,Map<String, Object> paramMap){
		return bizService.getList(page, paramMap);
	}
	
	@Override
	public CustomerSalesVO getDetail(Long id){
		return bizService.getDetail(id);
	}
	
	@Override
	public CustomerSalesVO insert(CustomerSalesVO customerSale){
		return bizService.insert(customerSale);
	}
	
	@Override
	public CustomerSalesVO update(CustomerSalesVO customerSale){
		return bizService.update(customerSale);
	}
	
	@Override
	public int delete(Long id){
		return bizService.delete(id);
	}
	
	@Override
	public int deleteByIDs(Long[] ids){
		return 0;
	}

	@Override
	public void batchAllocation(String orgIdStr, String cumIdStr) {
		bizService.batchAllocation(orgIdStr, cumIdStr);
	}

	@Override
	public void batchResume(String orgIdStr, String cumIdStr) {
		bizService.batchResume(orgIdStr, cumIdStr);
	}
	
	@Override
	public List<CustomerSalesVO> getExistOrg(String cumIdStr) {
		return bizService.getExistOrg(cumIdStr);
	}
	
}